Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[awattar] Fix that allows bridge to be added via UI. #13730

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

dougculnane
Copy link
Contributor

As per discussion in the forum: https://community.openhab.org/t/awattar-binding-beta-and-discussion/110497/70

the awatar bridge can not be added as a thing with the UI 3. This fixes (or works around) the problem.

Signed-off-by: Doug Culnane doug@culnane.net

Signed-off-by: Doug Culnane <doug@culnane.net>
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/awattar-binding-beta-and-discussion/110497/71

@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<thing:thing-descriptions bindingId="openweathermap"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason it didn't work is that the bindingId is wrong in this file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hilbrand OK. That is the real problem then. My fix was more of a work around that worked.

What is better, my fix or changing the bindingId?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general there is no best choice. Either solution is ok. In this case it probably makes more sense to have everything in one file as it's only a small set of things. I would say your fix is ok.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the copy-paste error, was my bad :-(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Wolfgang1966 no problem it gave me an easy fix (work around).

@lsiepel lsiepel added the bug An unexpected problem or unintended behavior of an add-on label Nov 16, 2022
Copy link
Member

@Hilbrand Hilbrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Wolfgang1966
Copy link

LGTM

Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@lolodomo lolodomo merged commit cc3ac23 into openhab:main Nov 17, 2022
@lolodomo lolodomo added this to the 3.4 milestone Nov 17, 2022
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 22, 2022
Signed-off-by: Doug Culnane <doug@culnane.net>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Dec 24, 2022
Signed-off-by: Doug Culnane <doug@culnane.net>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
borazslo pushed a commit to borazslo/openhab-mideaac-addon that referenced this pull request Jan 8, 2023
Signed-off-by: Doug Culnane <doug@culnane.net>
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Feb 23, 2023
Signed-off-by: Doug Culnane <doug@culnane.net>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Feb 28, 2023
Signed-off-by: Doug Culnane <doug@culnane.net>
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Jan 6, 2024
Signed-off-by: Doug Culnane <doug@culnane.net>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants